package com.ericom.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ericom.dao.StockInDao;
import com.ericom.model.StockIn;
import com.ericom.service.StockInManager;

@Service("stockInManager")
public class StockInManagerImpl extends GenericManagerImpl<StockIn, Long> implements
		StockInManager {

	StockInDao stockInDao;
	@Autowired
	public StockInManagerImpl(StockInDao stockInDao){
		super(stockInDao);
		this.stockInDao=stockInDao;
	}
	@Override
	public List<StockIn> findStockInByProduct(Long productId) {

		return stockInDao.findStockInByProduct(productId);
	}

}
